// 命名空间嵌套问题
#include <iostream>

using namespace std;

namespace HQYJ_2408
{
    int id = 100;
    namespace xiaomei
    {
        int id;
    }

    namespace xiaoshuai
    {
        int id;
    }

    namespace feiyangyang
    {
        int id;
    }
}

using namespace HQYJ_2408;

int main(int argc, char const *argv[])
{

    cout << "id = " << id << endl;

    feiyangyang::id = 80;
    xiaomei::id = 10;
    xiaoshuai::id = 20;

    cout << "id = " << id << endl;
    cout << "feiyangyang::id = " << feiyangyang::id << endl;
    cout << "xiaomei::id = " << xiaomei::id << endl;
    cout << "xiaoshuai::id = " << xiaoshuai::id << endl;
    return 0;
}
